package com.javacoo.xservice.base.support.auth;

import java.util.Optional;

/**
 * AuthService服务对象持有者
 * <li></li>
 *
 * @author: duanyong@jccfc.com
 * @since: 2021/3/16 10:46
 */
public class AuthServiceHolder {
    /** 授权服务象*/
    static AuthService authService;

    public static Optional<AuthService> getAuthService() {
        return Optional.ofNullable(authService);
    }
}
